powerpc/CoreNet: Allow pbl images to take u-boot images != 512K
authorChris Packham <[email protected]>
Sun, 26 May 2013 22:51:46 +0000 (10:51 +1200)
committerAndy Fleming <[email protected]>
Thu, 20 Jun 2013 22:08:52 +0000 (17:08 -0500)
commit0d3efd805618068f33ec8dd3610b1cd740afb5cd
treebfb140d13d12f93340c26f6c007f3a5849ffa26f
parente51e47d38ef2f15a2d81d48621121e0a30aad316
powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

Instead of assuming that SYS_TEXT_BASE is 0xFFF80000 calculate the initial
pbl command offset by subtracting the image size from the top of the
24-bit address range. Also increase the size of the memory buffer to
accommodate a larger output image.

Signed-off-by: Chris Packham <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
tools/pblimage.c